package com.aurora.source.util;

import com.aurora.source.R;

import java.util.Random;

/**
 * @author: Takeasy
 * @description:
 * @date: 2021/3/5 15:24
 * @version: 2.0
 */
public class ErrorImgUtil {
    public static int getErrorImgRandom(){
        Random random = new Random();
        switch (random.nextInt(5)){
            case 1:
                return R.drawable.tea_2;
            case 2:
                return R.drawable.tea_3;
            case 3:
                return R.drawable.tea_4;
            case 4:
                return R.drawable.tea_5;
            default:
                return R.drawable.tea_1;
        }
    }
}
